package com.ruoyi.common.entity.VO.order;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ShopPetrolOrderVO {
    private Long id;
    private String orderSn;
    private String paySn;

    private Long shopId;
    private String shopName;

    private Long memberId;
    private String nickname;
    private String avatar;
    private String phone;

    private Long productId;
    private String productSn;
    private String productName;
    private Long productAttrId;
    private String productAttrName;
    private BigDecimal productUnitPrice;
    private BigDecimal productQuantity;


    //优惠券ID
    private Long couponId;
    //优惠券抵扣金额
    private BigDecimal couponDiscount;
    //会员折扣抵扣金额
    private BigDecimal memberDiscount;
    //订单费用
    private BigDecimal orderCost;
    //实付总费用
    private BigDecimal payCost;
    //
    private Integer discountType;
    //优惠标题
    private String discountTitle;
    //优惠类型
    private String discountTypeDesc;
    //优惠金额
    private BigDecimal discountAmount;

    //
    private Integer giftCredit;
    //已取消，待支付，待收货，已完成
    private Integer orderStatus;
    //用户支付状态（未支付，已支付，支付超时，退款中，退款成功，退款失败）
    private Integer payStatus;
    //用户支付时间
    private Date payTime;
    //支付方式（2微信，0余额）
    private Integer payWay;
    //买家订单备注
    private String orderRemark;
    //取消时间
    private Date cancelTime;
    //取消原因
    private String cancelReason;
    protected String createBy;
    protected Date createTime;
    protected String updateBy;
    protected Date updateTime;
}
